# coding=utf-8
import time

#
from selenium import webdriver
# from selenium.webdriver.common.by import By
#
# driver = webdriver.Chrome()
# driver.maximize_window()
# driver.get("http://www.baidu.com")
# ele = driver.find_element(By.ID,"su")
# id = ele.get_attribute("id")
#
# time.sleep(2)
# driver.close()

# print(dir(time))



def out(func):
    def inter(*args,**kwargs):
        print("111111111")
        res = func(*args,**kwargs)
        print(22222222)
        return res
    return  inter


@out
def show():
    print("装饰器")


if __name__ == '__main__':
    res = show()
    print(res)
    print(1111)
    print(time.time())

